package cn.fourthquestion;

public class SeafoodPizza extends  Pizza{
   private String dosing;

    public SeafoodPizza() {

    }

    public SeafoodPizza(String name, double price, int size, String dosing) {
        super(name, price, size);
        this.dosing=dosing;
    }

    public String getDosing() {
        return dosing;
    }

    public void setDosing(String dosing) {
        this.dosing = dosing;
    }

    public void  show(){
        System.out.println("名称："+getName()+"\n价格:"+getPrice()+"元\n大小："+getSize()+"寸\n配料："+dosing);
    }
}
